package com.zjl.spring;

import com.zjl.spring.domain.Apple;
import com.zjl.spring.domain.Shop;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @Auther: zhuangjl
 * @Date: 2021/11/10 18:47
 */

@SpringBootApplication(scanBasePackages = {"com.zjl"})
public class MybatisApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(MybatisApplication.class, args);
        Shop bean = run.getBean(Shop.class);
        System.out.println(bean);

    }
}
